package com.imti.controller;




import com.imti.Api.CommonResult;
import com.imti.entity.DepSys;
import com.imti.entity.dto.DepSysDto;
import com.imti.service.DepSysService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

/**
 * 科室系统表(DepSys)表控制层
 *
 * @author makejava
 * @since 2023-02-03 13:59:19
 */
@RestController
@RequestMapping("depSys")
public class DepSysController {
    /**
     * 服务对象
     */
    @Resource
    private DepSysService depSysService;

    /**
     * 科室系统
     * @return
     */
    @RequestMapping("findDepsysDeskwork")
    public CommonResult<List<DepSysDto>> findDepsysDeskwork(String searchName){

        return CommonResult.success(depSysService.findDepsysDeskwork(searchName));
    }
}

